package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffAdjustMainNavigationSortingDto
 * @使用场景
 */
@Data
public class BffAdjustMainNavigationSortingDto implements Serializable {

  /**
   * 菜单编码
   */
  @ApiModelProperty("菜单编码")
  private String menuCode;

  /**
   * 菜单名称
   */
  @ApiModelProperty("菜单名称")
  private String menuName;

  /**
   * 菜单图标
   */
  @ApiModelProperty("菜单图标")
  private String menuIcon;

  /**
   * 菜单是否可见
   */
  @ApiModelProperty("菜单是否可见")
  private String menuIsVisible;

  /**
   * 菜单路径
   */
  @ApiModelProperty("菜单路径")
  private String menuPath;

  /**
   * 菜单排序
   */
  @ApiModelProperty("菜单排序")
  private String menuOrderNumber;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffAdjustMainNavigationSortingDto that = (BffAdjustMainNavigationSortingDto) o;
      return  menuCode == that.menuCode&&menuName == that.menuName&&menuIcon == that.menuIcon&&menuIsVisible == that.menuIsVisible&&menuPath == that.menuPath&&menuOrderNumber == that.menuOrderNumber;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), menuCode,menuName,menuIcon,menuIsVisible,menuPath,menuOrderNumber);
    }

}
